<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
	CodeFile="UpdateRemote.aspx.cs" Inherits="UpdateRemote" Title="UpdateRemote" %>

<%@ MasterType VirtualPath="~/MasterPage.master" %>
<%@ Register Namespace="NS_Controls" TagPrefix="cc1" %>
<%@ Register Namespace="CustomControlsNS" TagPrefix="cc2" %>
<asp:Content ID="ContentDefault" ContentPlaceHolderID="ContentPlaceHolderContent"
	runat="Server">
	<link href="../../Styles/themes/fancy/tabs.css" rel="stylesheet" type="text/css" />
	<link href="../../Styles/themes/fancy/fancy-blue/fancy-blue.css" rel="stylesheet"
		type="text/css" />
	<asp:UpdatePanel ID="up1" runat="server">
		<ContentTemplate>
			<asp:Literal ID="output" runat="server" />
			<div style="padding-bottom: 20px">
				<ajaxToolKit:TabContainer ID="tabContainer" runat="server" CssClass="fancy fancy-blue"
					AutoPostBack="true" OnActiveTabChanged="tabActive_TabChanged">
					<ajaxToolKit:TabPanel ID="tabUpdate" runat="server" HeaderText="Update Remote">
						<ContentTemplate>
							<table style="width:90%">
								<tr valign="top">
								<!-- todo: autopostback on checkedchanged! -->
									<td style="width:50%">
							<div style="overflow:auto; width:98%; height: 380px">
								<asp:TreeView ID="TreeViewServer" runat="server" OnTreeNodeCheckChanged="tvServer_CheckChanged"
									ShowCheckBoxes="All" BorderWidth="1"
									RootNodeStyle-ImageUrl="~/Images/Hipocrate/server.gif"
									ParentNodeStyle-ImageUrl="~/Images/Hipocrate/folder.gif" NodeIndent="10"
									LeafNodeStyle-ImageUrl="~/Images/Hipocrate/file.gif" ShowLines="true">
									<NodeStyle Font-Names="Arial" Font-Size="8pt" ForeColor="DarkBlue" HorizontalPadding="5" />
									<RootNodeStyle Font-Bold="True" Font-Size="9pt" />
									<HoverNodeStyle Font-Underline="True" />
								</asp:TreeView>
							</div>
										</td>
										<td style="width:50%">
											<asp:Literal ID="strUpdatingLocation" runat="server" Text="Locatia actualizarii" />:
											<asp:TextBox ID="txtUpdatingLocation" runat="server" Text="Public" />
											<asp:Button ID="cmdReloadLocalData" runat="server" Text="Refresh" OnClick="cmdReloadLocalData_Click" />
							<div style="overflow:auto; width:98%; height: 360px">
								<asp:TreeView ID="TreeViewLocal" runat="server" BorderWidth="1"
									RootNodeStyle-ImageUrl="~/Images/Hipocrate/rsc.gif"
									ParentNodeStyle-ImageUrl="~/Images/Hipocrate/folder.gif" NodeIndent="10"
									LeafNodeStyle-ImageUrl="~/Images/Hipocrate/file.gif" ShowLines="true">
									<NodeStyle Font-Names="Arial" Font-Size="8pt" ForeColor="DarkBlue" HorizontalPadding="5" />
									<RootNodeStyle Font-Bold="True" Font-Size="9pt" />
									<HoverNodeStyle Font-Underline="True" />
								</asp:TreeView>
							</div>
										</td>
									</tr>
								</table>
						</ContentTemplate>
					</ajaxToolKit:TabPanel>
					<ajaxToolKit:TabPanel ID="tabSettings" runat="server" HeaderText="Settings">
						<ContentTemplate>
						</ContentTemplate>
					</ajaxToolKit:TabPanel>
				</ajaxToolKit:TabContainer>
				<div id="divLinkHome" style="padding: 10px">
					<asp:Image runat="Server" ID="imgReturnMain" ImageUrl="~/Images/Hipocrate/icon_home.gif"
						AlternateText="Click to return" UseSubmitBehavior="false" Style="cursor: pointer" />
					<asp:HyperLink ID="lnkMainPage" runat="server" Text="Inapoi la pagina principala"
						NavigateUrl="~/Default.aspx" />
				</div>
			</div>
		</ContentTemplate>
	</asp:UpdatePanel>
	<script language="javascript" type="text/javascript">
	</script>
</asp:Content>
